package com.lostreseditores.sabersai.model.control;

import java.util.List;
import java.util.Map;

import com.lostreseditores.sabersai.model.Colegio;
import com.lostreseditores.sabersai.model.dto.ColegioDTO;


public interface IColegioLogic {
	public List<Colegio> getColegio() throws Exception;

	public void saveColegio(Long colecoddanen, String coledescripv, Long lugaidn) throws Exception;

	public void deleteColegio(Integer coleidn) throws Exception;

	public void updateColegio(Integer coleidn, Long colecoddanen, String coledescripv,
			 Long lugaidn) throws Exception;

	public Colegio getColegio(Integer coleidn) throws Exception;

	public List<Colegio> getColegioDane(Long coleDane) throws Exception;

	public List<Colegio> findByCriteria(Object[] variables,
			Object[] variablesBetween, Object[] variablesBetweenDates)
			throws Exception;

	public List<Colegio> findPageColegio(String sortColumnName,
			boolean sortAscending, int startRow, int maxResults)
			throws Exception;

	public Long findTotalNumberColegio() throws Exception;

	public List<ColegioDTO> getDataColegio() throws Exception;
	
	public List<Colegio> encontrarColegios(int startingAt, int maxPerPage, String order, String sortField, Map<String, String> filters, String lugaidn) throws Exception;
	
	public Long findTotalNumberColegio(Map<String, String> filters, String lugaidn) throws Exception;
	
	public List<ColegioDTO> getColegioDTO() throws Exception;
	

	
}
